<template>
    <div class="rollback">
        <i class="fa fa-angle-left" @click="goBack()"></i>
    </div> 
</template>

<style scoped>
 .rollback i{
    position: fixed;
    top: 4vw;
    left: 3vw;
    display: flex;
    align-items: center;
    cursor: pointer;

    color: #fff;
    font-size: 6vw;

    z-index: 2000;
 }
</style>

<script>
export default{
    name:'PageRollback',
    methods:{
        goBack(){
            window.history.go(-1); // 回退到上一页
        }
    }
}
</script>
